Input. X coordinates to fit.
Input. Y coordinates to fit.
Optional slope constraint for the first point. Single.NaN means no constraint.
Optional slope constraint for the final point. Single.NaN means no constraint.
Turn on console output. Default is false.
CubicSpline Constructor(Double[],Double[],Double,Double,Boolean)
Construct and call Fit.
Syntax
public CubicSpline( 
   double[] x,
   double[] y,
   double startSlope,
   double endSlope,
   bool debug
)

Parameters

x
Input. X coordinates to fit.
y
Input. Y coordinates to fit.
startSlope
Optional slope constraint for the first point. Single.NaN means no constraint.
endSlope
Optional slope constraint for the final point. Single.NaN means no constraint.
debug
Turn on console output. Default is false.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also